// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue    from 'vue'
import App    from './App';
import router from './router';
import store  from './store';
import vueg   from 'vueg';

import 'vueg/css/transition-min.css';
import './styles/pretty-checkbox.css';
import './styles/iconfont.css';
import './styles/theme.less';
import './styles/common.css';
import './utils/jmessage-sdk-web.2.6.0.min.js';

import { initJIM } from '@/utils';
import { windowResize } from '@/utils';


window.JIM = new JMessage({
     debug : true
});

initJIM();
windowResize();

Vue.config.productionTip = false;

// Vueg Setting
Vue.use(vueg, router, {
	tabs: [
		{name: 'index'},
		{name: 'ordering'},
		{name: 'shopping'},
		{name: 'member'}
	],
	tabsDisable : true
})

new Vue({
	el     : '#app',
	router : router,
	store  : store,
	render : h => h(App)
})
